package com.pda.common_easy.pages.login;

import com.pda.common_easy.beanout.LoginBeanOut;
import com.pda.common_easy.beanout.LogoBeanOut;
import com.public_module.basemvp.model.Model;

import java.util.List;

public interface LoginModel extends Model {
    interface CallBack {
        void onloginSuccess(List<LoginBeanOut.DataDTO.ShowInfoDTO> list);
        void onFail(String str);
        void onloginLogo(LogoBeanOut.DataBean dataBean);
    }

    void login(String url ,String username, String password,String sn,final CallBack listener);
    void logo(String url ,final CallBack listener);
}
